package com.zzyl.nursing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzyl.nursing.mapper.UserNursingProjectMapper;
import com.zzyl.nursing.service.UserNursingProjectService;
import com.zzyl.nursing.vo.Page;
import com.zzyl.serve.domain.NursingProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

import static com.zzyl.common.utils.PageUtils.startPage;

@Service
public class UserNursingProjectServiceImpl extends ServiceImpl<UserNursingProjectMapper,NursingProject> implements UserNursingProjectService {
    @Autowired
    private UserNursingProjectMapper userNursingProjectMapper;

    @Override
    public List<NursingProject> page(String name, Integer pageNum, Integer pageSize, Integer status) {
        return userNursingProjectMapper.selectNursingProject(name,pageNum,pageSize,status);
    }
}
